package com.yft.service.purchasepos;

import com.yft.entity.base.Order;
import com.yft.entity.base.Pager;
import com.yft.entity.purchasepos.PosPurchaseOrderDetail;
import com.yft.entity.purchasepos.PosPurchaseOrderHeader;

import java.util.List;


public interface PosPurchaseOrderHeaderService {
	public Object addPosPurchaseOrderHeader(PosPurchaseOrderHeader posPurchaseOrderHeader);
	public  boolean cancelPosPurchase(String headerId);
	public  boolean auditPosPurchaseOrder(String headerId,String channelName);
	public boolean addPosPurchaseOrder(PosPurchaseOrderHeader posPurchaseOrderHeader,List<PosPurchaseOrderDetail> itemList);
	public boolean updatePosPurchaseOrder(PosPurchaseOrderHeader posPurchaseOrderHeader,List<PosPurchaseOrderDetail> waitAddItems,List<PosPurchaseOrderDetail> waitDelItems);
	public PosPurchaseOrderHeader getPosPurchaseOrderHeader(String posPurchaseOrderHeaderPk);
	public boolean updateValues(PosPurchaseOrderHeader condition, String cumstomStr);
	public List<PosPurchaseOrderHeader> getPosPurchaseOrderHeaderList(PosPurchaseOrderHeader condition, Order order, Pager pager);
}
